<?$this->load->view('header.tpl')?>
	<div id="wrap" class="lw lw1 clearfix ab">
		<h2 class="menu2 clearfix">
			<span>所有动态</span>
			<a href="/">>返回</a>

		</h2>
		<?if($know):?>
		<table class="discuz">
			<tr>
				<th class="table-left t1">标题</th>
				<th class="t2">作者</th>
				<th class="t3">时间</th>
			</tr>
			<?foreach($know as $t):?>
			<tr>
				<td class="table-left"><a href="/know/show/<?=$t->id?>"><?=$t->title?></a></td>
				<td><?=$t->uname?></td>
				<td><?=$t->time?></td>
			</tr>
			<?endforeach?>
		</table>
		<p>共<?=$num?>个话题</p>
		<?else:?>
			<p>还没有话题</p>
		<?endif?>

		<?php echo $page;?>

		
	</div>
<?$this->load->view('footer.tpl');?>